Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Update MSRV to 1.56 #1838

Merged
merged 2 commits into from
Apr 16, 2022
Merged

Update MSRV to 1.56 #1838

merged 2 commits into from
Apr 16, 2022

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Apr 16, 2022

As mentioned on matrix, wgpu's MSRV has been recently bumped up to 1.59 and I proposed to bump the MSRV of naga to 1.56.

Besides API changes, I think these are the most relevant features for us since 1.43 (our current MSRV):

  • 1.56; rust 2021 (can upgrade in the future), rust-version in Cargo.toml, multiple bindings in match arms
  • 1.55; faster, more correct float parsing
  • 1.53; ability to nest OR patterns in match arms
  • 1.51; Const Generics MVP
  • 1.50; const-generic array indexing, const value repetition for arrays
  • 1.46; const fn improvements

Tested changes locally via cargo msrv verify -- cargo test --all-features --workspace (cargo-msrv).

Cargo.toml Show resolved Hide resolved
@kvark kvark merged commit c942a90 into gfx-rs:master Apr 16, 2022
@teoxoy teoxoy deleted the update-msrv branch April 16, 2022 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants